<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2019/4/12
  Time: 9:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/bootstrap.css">
</head>
<body style="background: url('${pageContext.request.contextPath}/img/bgBig.jpg') 0px -100px no-repeat">
<div class="container" style="margin-top: 200px">
    <div class="center-block" style="width: 80%;border: 1px solid #cccccc;box-shadow: 5px 5px 5px 5px rgba(0,0,0,0.3);background-color: rgba(255,255,255,0.5)">
        <div class="row" style="margin-top: 30px">
            <%--表单提交位置--%>
            <form class="form-horizontal" action="${pageContext.request.contextPath}/user?method=login" method="post">
                <div class="form-group">
                    <label for="inputEmail3" class="col-sm-2 control-label">用户名:</label>
                    <div class="col-sm-8">
                        <input type="text" class="form-control" name="userName" id="inputEmail3" placeholder="登陆名">
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-2 control-label">密码:</label>
                    <div class="col-sm-8">
                        <input type="password" class="form-control" name="passWord" id="inputPassword3" placeholder="登陆密码">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <div class="checkbox">
                            <label>
                                <input type="checkbox"> 自动登陆
                            </label>
                        </div>
                    </div>
                    <div class="col-sm-offset-2 col-sm-10">
                        <div class="checkbox">
                            <label>
                                <a href="${pageContext.request.contextPath}/user/register_c.jsp" ><font style="color: red">立即注册!</font></a>
                            </label>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-default">登陆</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>
